<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>tinydtls: dtls_context_t Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">tinydtls
   &#160;<span id="projectnumber">0.8.2</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li class="current"><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="functions.html"><span>Data&#160;Fields</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Groups</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Data Fields</a>  </div>
  <div class="headertitle">
<div class="title">dtls_context_t Struct Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="dtls_8h_source.html">dtls.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:adf4e86be64bd4a07936ddbba5f6fa6af"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structdtls__context__t.html#adf4e86be64bd4a07936ddbba5f6fa6af">LIST_STRUCT</a> (sendqueue)</td></tr>
<tr class="separator:adf4e86be64bd4a07936ddbba5f6fa6af"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr class="memitem:adb7dc6a53a7e00f2c4bbf726973e002f"><td class="memItemLeft" align="right" valign="top">unsigned char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structdtls__context__t.html#adb7dc6a53a7e00f2c4bbf726973e002f">cookie_secret</a> [<a class="el" href="dtls_8h.html#a44ec206b1d84aa3d83281a92ed7cc238">DTLS_COOKIE_SECRET_LENGTH</a>]</td></tr>
<tr class="separator:adb7dc6a53a7e00f2c4bbf726973e002f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3f26099dbb3588ae9a86d26f69ec08f8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__clock.html#ga6e6c13e871b82d881a01d1bc8df69d23">clock_time_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structdtls__context__t.html#a3f26099dbb3588ae9a86d26f69ec08f8">cookie_secret_age</a></td></tr>
<tr class="separator:a3f26099dbb3588ae9a86d26f69ec08f8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a417fa8ac04478292f0539d2da0fec088"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structdtls__peer__t.html">dtls_peer_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structdtls__context__t.html#a417fa8ac04478292f0539d2da0fec088">peers</a></td></tr>
<tr class="separator:a417fa8ac04478292f0539d2da0fec088"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab37722ec6b82dd3120827812f212a51e"><td class="memItemLeft" align="right" valign="top">void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structdtls__context__t.html#ab37722ec6b82dd3120827812f212a51e">app</a></td></tr>
<tr class="separator:ab37722ec6b82dd3120827812f212a51e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a460737bda0d200538c00ef7877b339cd"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structdtls__handler__t.html">dtls_handler_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structdtls__context__t.html#a460737bda0d200538c00ef7877b339cd">h</a></td></tr>
<tr class="separator:a460737bda0d200538c00ef7877b339cd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad6facbcd3c19ac8e1c79b1664dcf2434"><td class="memItemLeft" align="right" valign="top">unsigned char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structdtls__context__t.html#ad6facbcd3c19ac8e1c79b1664dcf2434">readbuf</a> [<a class="el" href="global_8h.html#acdbfba15eb1a5692e177d582b4ca1583">DTLS_MAX_BUF</a>]</td></tr>
<tr class="separator:ad6facbcd3c19ac8e1c79b1664dcf2434"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Holds global information of the DTLS engine. </p>

<p>Definition at line <a class="el" href="dtls_8h_source.html#l00223">223</a> of file <a class="el" href="dtls_8h_source.html">dtls.h</a>.</p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="adf4e86be64bd4a07936ddbba5f6fa6af"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">dtls_context_t::LIST_STRUCT </td>
          <td>(</td>
          <td class="paramtype">sendqueue&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>the packets to send </p>

</div>
</div>
<h2 class="groupheader">Field Documentation</h2>
<a class="anchor" id="ab37722ec6b82dd3120827812f212a51e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void* dtls_context_t::app</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>application-specific data </p>

<p>Definition at line <a class="el" href="dtls_8h_source.html#l00237">237</a> of file <a class="el" href="dtls_8h_source.html">dtls.h</a>.</p>

</div>
</div>
<a class="anchor" id="adb7dc6a53a7e00f2c4bbf726973e002f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsigned char dtls_context_t::cookie_secret[<a class="el" href="dtls_8h.html#a44ec206b1d84aa3d83281a92ed7cc238">DTLS_COOKIE_SECRET_LENGTH</a>]</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="dtls_8h_source.html#l00224">224</a> of file <a class="el" href="dtls_8h_source.html">dtls.h</a>.</p>

</div>
</div>
<a class="anchor" id="a3f26099dbb3588ae9a86d26f69ec08f8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__clock.html#ga6e6c13e871b82d881a01d1bc8df69d23">clock_time_t</a> dtls_context_t::cookie_secret_age</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>the time the secret has been generated </p>

<p>Definition at line <a class="el" href="dtls_8h_source.html#l00225">225</a> of file <a class="el" href="dtls_8h_source.html">dtls.h</a>.</p>

</div>
</div>
<a class="anchor" id="a460737bda0d200538c00ef7877b339cd"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structdtls__handler__t.html">dtls_handler_t</a>* dtls_context_t::h</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>callback handlers </p>

<p>Definition at line <a class="el" href="dtls_8h_source.html#l00239">239</a> of file <a class="el" href="dtls_8h_source.html">dtls.h</a>.</p>

</div>
</div>
<a class="anchor" id="a417fa8ac04478292f0539d2da0fec088"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structdtls__peer__t.html">dtls_peer_t</a>* dtls_context_t::peers</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>peer hash map </p>

<p>Definition at line <a class="el" href="dtls_8h_source.html#l00228">228</a> of file <a class="el" href="dtls_8h_source.html">dtls.h</a>.</p>

</div>
</div>
<a class="anchor" id="ad6facbcd3c19ac8e1c79b1664dcf2434"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsigned char dtls_context_t::readbuf[<a class="el" href="global_8h.html#acdbfba15eb1a5692e177d582b4ca1583">DTLS_MAX_BUF</a>]</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="dtls_8h_source.html#l00241">241</a> of file <a class="el" href="dtls_8h_source.html">dtls.h</a>.</p>

</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="dtls_8h_source.html">dtls.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Fri Feb 27 2015 15:15:33 for tinydtls by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
</body>
</html>
